package top.jnaw.jee.platform.controller;

import com.jfinal.core.Controller;
import com.jfinal.kit.PropKit;
import top.jnaw.jee.utils.ModelResult;

public class MainController extends Controller {

  public void index() {
    renderJson(new ModelResult(PropKit.get("project_version")).toJson());
  }

  public void wechat() {
    redirect("/auth/redirect", true);
  }


}
